package by.grsu.hdm.model.remotecontrol.impl;

import by.grsu.hdm.model.ihomedevice.HomeDeviceStatus;
import by.grsu.hdm.model.ihomedevice.devices.MediaCenter;
import by.grsu.hdm.model.remotecontrol.AbstractRemoteControl;

public class MediaCenterRemoteControl extends AbstractRemoteControl {

	private MediaCenter mediaCenter;
	
	public MediaCenterRemoteControl(MediaCenter mediaCenter){
		this.mediaCenter = mediaCenter;
	}
	
	@Override
	public HomeDeviceStatus turnOn(){
			return mediaCenter.turnOn();
	}

	@Override
	public HomeDeviceStatus turnOff() {
			return mediaCenter.turnOff();
	}
	
	@Override
	public String getDeviceId() {
		return mediaCenter.getDeviceId();
	}

}
